<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Amazing聯播網</title>

<?php 
include_once 'template/usercheck.php';
include_once 'template/adSession.php';
?>

<script type="text/javascript" src="/ad/html/js/util.js"></script>
<script type="text/javascript" src="/ad/html/frontoffice/js/tigerStep1.js"></script>

<!-- Framework CSS -->
<link rel="stylesheet" href="../css/blueprint/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="../css/blueprint/print.css" type="text/css" media="print" />
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<link href="../css/tiger11.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!--[if IE 6]><link href="css/tiger11IE6.css" rel="stylesheet" type="text/css" media="screen, projection" /><![endif]-->
</head>
<body>
	<div class="container">
	  <div class="span-24" id="Header">    
		<?php include_once 'template/tigerTitle.php';?>
	    <div class="span-24" id="TopTitle">
	    	<h1>刊登廣告</h1>
	    </div>
		<div class="span-24" id="Path">
			    <a href="tigerStep1.php" class="current"><span class="Steps">Step1</span><span>設計你的廣告</span></a>
			    <a href="tigerStep2.php"><span class="Steps">Step2</span><span>目標設定</span></a>
			    <a href="tigerStep3.php"><span class="Steps">Step3</span><span>活動、預算和排期</span></a>
			    <a href="tigerStep4.php"><span class="Steps">Step4</span><span>預覽廣告</span></a>
		 </div>
	    </div>
		  <div class="span-24" id="MainConteiner">
			  <div id="MainConteiner-in">
				  <form id="form" action="/ad/sys/com/control/AdService.php?action=step1Action" method="post" class="ContentForm">
					  <fieldset>
					     <legend><h2 id='adUserName'>設計你的廣告</h2></legend> 
					    
					 	 <label>廣告宣傳文字</label>
					 	 <input name="title" id="title" type="text" maxlength="30"/> <label for="uploadpicture"  >(限30字以內)</label>
					  </fieldset>
					  <fieldset>
						  <label for="uploadpicture">圖片1</label>
							  <input name="image1" id="image1"  style="background-color:#EBEBEB;" type="text"  readonly="readonly"/>
							  <input id="btnImage1" value="上傳" type="button" style="width:50px"/>&nbsp;
						  <label for="uploadpicture"  >( 480x80)</label>
					  </fieldset><!--圖片一-->
					  <fieldset>
					    <label>預覽:</label>
							<div class="preview480">
								<img id="picImgage1" width="480px" height="80px" />
							</div>
					  </fieldset>
					  <fieldset>
					  	 <label for="uploadpicture">圖片2</label>
					     <input name="image2" id="image2"   style="background-color:#EBEBEB" type="text" readonly="readonly"/>
					     <input id="btnImage2" value="上傳" type="button" style="width:50px"/>&nbsp;
					  	 <label for="uploadpicture"  >( 320x50)</label>
					  </fieldset>
					  <fieldset>
						  <label>預覽:</label>
						  <div class="preview320">
						  	<img id="picImgage2"  width="320px" height="50px" />
						  </div>
					  </fieldset>
					  <fieldset> 
						   <label for="Url">目的頁面URL</label>
						   <input name="url" id="url" type="text"/>
						   <select name="clickAction" id="clickAction" style="width:20%;">
							  <option value="" >您希望點擊廣告後的動作</option>
							  <option value="0" >開啟瀏覽器</option>
							  <option value="1" >下載軟體</option>
							  <option value="2" >撥打電話</option>
							  <option value="3" >發送簡訊</option>
							  <option value="4" >開啟地圖</option>
							</select>
							<code  id="actionSample"></code>
					  </fieldset>
					  </fieldset><!--圖片二-->
					  <fieldset class="control"> 
					  	 <input id="btnNext" value="下一步" type="button" />
					  </fieldset> 
				  </form>
			  <!--<div class="demo"></div>-->
			  	</div>
		  </div>
	   	  <?php include_once 'template/tigerFooter.php'?>
	</div>
</body>
</html>
